<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>会员天地</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="{{url('css/main.css')}}" type="text/css" rel="stylesheet" />
    <script src="{{url('js/jquery.js')}}" type="text/javascript"></script>
</head>



<div style="padding-left:10px; padding-right:10px; background-color:white; border-bottom:solid 1px #e3e3e5;">
    <div class="nav_shop">
        <div class="nav_ico">
            <a href="{{url('/wx/activity')}}"> <img src="{{url('images/shop_nav_ico1.png')}}" width="50">
            <p style=" font-size:12px; color:#666; padding-top:3px;">所有活动</p></a>
        </div>
        <div class="nav_ico">
            <a href="{{url('/wx/activity')}}?cid=1"><img src="{{url('images/shop_nav_ico2.png')}}" width="50">
            <p style=" font-size:12px; color:#666; padding-top:3px;">抵用活动</p></a>
        </div>
        <div class="nav_ico">
            <a href="{{url('/wx/activity')}}?cid=2"> <img src="{{url('images/shop_nav_ico3.png')}}" width="50">
            <p style=" font-size:12px; color:#666; padding-top:3px;">抽奖活动</p></a>
        </div>
        <div class="nav_ico">
            <a href="{{url('/wx/activity')}}?cid=3"> <img src="{{url('images/shop_nav_ico4.png')}}" width="50">
            <p style=" font-size:12px; color:#666; padding-top:3px;">优惠活动</p></a>
        </div>
    </div>
</div>

<div style=" padding:10px; background-color:#f0f0f0;">

    @if (count($activitys)==0)
        <p>暂无活动，敬请期待</p>
    @endif

    @foreach ($activitys as $activity)
        <a href="{{url('/wx/activityinfo')}}?id={{$activity->id}}">
    <div class="big_box_contant">
        <div style=" padding:10px; padding-bottom:6px;">
            <div class="box_contant_in">
                <img src="/uploads/ac/{{$activity->pic}}" width="280">
                <div>
                    <a class="contant_title">{{$activity->title}}</a>
                    <a class="ac_time">{{$activity->created_at}}</a>
                </div>
            </div>
        </div>
    </div>
        </a>
    @endforeach

</div>
    </body>
</html>
